package team.lourd.network.system.config;

import org.springframework.batch.core.configuration.annotation.EnableBatchProcessing;
import org.springframework.context.annotation.Configuration;

/**
 * @Description: 配置Spring Batch相关的基础设施
 * EnableBatchProcessing提供用于构建批处理作业的基本配置
 *
 * 开箱即用:
 * JobRepository - bean name "jobRepository"
 * JobLauncher - bean name "jobLauncher"
 * JobRegistry - bean name "jobRegistry"
 * PlatformTransactionManager - bean name "transactionManager"
 * JobBuilderFactory - bean name "jobBuilders"
 * StepBuilderFactory - bean name "stepBuilders"
 *
 * 此配置的核心接口是BatchConfigurer
 * @Author: Lourd
 * @Date: 2019/1/23
 */
@Configuration
@EnableBatchProcessing
public class BatchConfig {

}
